﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>X3BLOG 后台管理</title>
<link href="ui/admin/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/js/lib.js"></script>
<script type="text/javascript" src="/js/admin.js"></script>
</head>
<body scroll="no">
<div id="tipbar" class="head">
	<div>
		<div></div>
		<a href="#" class="btn1" onclick="logout()" title="退出"></a>
		<a href="#" class="btn2" onclick="openWindow('account')" title="帐户管理"></a>
		<a href="#" class="btn3" onclick="openWindow('topic')" title="文章管理"></a>
		<a href="#" class="btn4" onclick="openWindow('user')" title="用户管理"></a>
		<a href="#" class="btn5" onclick="openWindow('homepage')" title="首页设置"></a>
	</div>
</div>
<div class="main">
	<div class="cwindow" id="homepage" onstart="loadHomeSet()"><div class="topborder">
			<div class="ltangle"></div>
			<div class="title"><span>首页设置</span></div>
			<div class="rtangle"></div>
			<a href="#" onclick="closeWindow('homepage')" class="closebtn"></a>
		</div>
		<div class="leftborder">
			<div class="rightborder">
				<div class="content">
					<form id="homeset" onkeypress="tidyupflag=true" onpaste="tidyupflag=true" onchange="tidyupflag=true" action="homeset.aspx" onsubmit="this.post(homeset);return false">
						<div class="tab">
							<div class="tabbar">
								<ul onclick="switchPanel(this)"><li class="current">
										<div class="left"></div><div class="right"></div><span>基本信息</span>
									</li><li>
										<div class="left"></div><div class="right"></div><span>焦点图片</span>
									</li><li>
										<div class="left"></div><div class="right"></div><span>专题</span>
									</li><li>
										<div class="left"></div><div class="right"></div><span>推荐</span>
									</li><li>
										<div class="left"></div><div class="right"></div><span>精选网文</span>
									</li><li>
										<div class="left"></div><div class="right"></div><span>Banner</span>
									</li><li>
										<div class="left"></div><div class="right"></div><span>合作伙伴</span>
									</li><li>
										<div class="left"></div><div class="right"></div><span>友情连接</span>
								</li></ul>
							</div><div class="tabbody"><div class="tabpanel current">
									<div class="siteinfo">
										<div>首页标题：</div>
										<div><input type="text" name="title" /></div>
										<div>关键字：</div>
										<div><input type="text" name="keywords" /></div>
										<div>站点描述：</div>
										<div><textarea name="description"></textarea></div>
									</div>
									</div><div class="tabpanel">
									<div class="focuslist">
										<div class="ptab">
											<div class="ptabbar">
												<ul id="focusindex" onclick="switchPanel(this)" onselectstart="return false"><li class="current">&nbsp;</li><li>&nbsp;</li><li>&nbsp;</li><li>&nbsp;</li><li>&nbsp;</li><li>&nbsp;</li><li>&nbsp;</li></ul>
											</div><div class="ptabbody"><div class="tabpanel current">
													<a class="upbtn" title="上移" onclick="moveTabItem(this,-1)"></a>
													<div class="focusinfo">
														<div>标题：</div>
														<div><input type="text" class="focustitle" name="focustitle" /></div>
														<div>文章地址：</div>
														<div><input type="text" class="focusurl" name="focusurl" /></div>
														<div>图片地址：</div>
														<div><input type="text" class="focusimg" name="focusimg" /></div>
													</div>
													<a class="dnbtn" title="下移" onclick="moveTabItem(this,1)"></a>
												</div><div class="tabpanel">
													<a class="upbtn" title="上移" onclick="moveTabItem(this,-1)"></a>
													<div class="focusinfo">
														<div>标题：</div>
														<div><input type="text" class="focustitle" name="focustitle" /></div>
														<div>文章地址：</div>
														<div><input type="text" class="focusurl" name="focusurl" /></div>
														<div>图片地址：</div>
														<div><input type="text" class="focusimg" name="focusimg" /></div>
													</div>
													<a class="dnbtn" title="下移" onclick="moveTabItem(this,1)"></a>
												</div><div class="tabpanel">
													<a class="upbtn" title="上移" onclick="moveTabItem(this,-1)"></a>
													<div class="focusinfo">
														<div>标题：</div>
														<div><input type="text" class="focustitle" name="focustitle" /></div>
														<div>文章地址：</div>
														<div><input type="text" class="focusurl" name="focusurl" /></div>
														<div>图片地址：</div>
														<div><input type="text" class="focusimg" name="focusimg" /></div>
													</div>
													<a class="dnbtn" title="下移" onclick="moveTabItem(this,1)"></a>
												</div><div class="tabpanel">
													<a class="upbtn" title="上移" onclick="moveTabItem(this,-1)"></a>
													<div class="focusinfo">
														<div>标题：</div>
														<div><input type="text" class="focustitle" name="focustitle" /></div>
														<div>文章地址：</div>
														<div><input type="text" class="focusurl" name="focusurl" /></div>
														<div>图片地址：</div>
														<div><input type="text" class="focusimg" name="focusimg" /></div>
													</div>
													<a class="dnbtn" title="下移" onclick="moveTabItem(this,1)"></a>
												</div><div class="tabpanel">
													<a class="upbtn" title="上移" onclick="moveTabItem(this,-1)"></a>
													<div class="focusinfo">
														<div>标题：</div>
														<div><input type="text" class="focustitle" name="focustitle" /></div>
														<div>文章地址：</div>
														<div><input type="text" class="focusurl" name="focusurl" /></div>
														<div>图片地址：</div>
														<div><input type="text" class="focusimg" name="focusimg" /></div>
													</div>
													<a class="dnbtn" title="下移" onclick="moveTabItem(this,1)"></a>
												</div><div class="tabpanel">
													<a class="upbtn" title="上移" onclick="moveTabItem(this,-1)"></a>
													<div class="focusinfo">
														<div>标题：</div>
														<div><input type="text" class="focustitle" name="focustitle" /></div>
														<div>文章地址：</div>
														<div><input type="text" class="focusurl" name="focusurl" /></div>
														<div>图片地址：</div>
														<div><input type="text" class="focusimg" name="focusimg" /></div>
													</div>
													<a class="dnbtn" title="下移" onclick="moveTabItem(this,1)"></a>
												</div><div class="tabpanel">
													<a class="upbtn" title="上移" onclick="moveTabItem(this,-1)"></a>
													<div class="focusinfo">
														<div>标题：</div>
														<div><input type="text" class="focustitle" name="focustitle" /></div>
														<div>文章地址：</div>
														<div><input type="text" class="focusurl" name="focusurl" /></div>
														<div>图片地址：</div>
														<div><input type="text" class="focusimg" name="focusimg" /></div>
													</div>
													<a class="dnbtn" title="下移" onclick="moveTabItem(this,1)"></a>
												</div>
											</div>
										</div>
										<div id="focusuploader"></div>
									</div>
								</div><div class="tabpanel">
									<div class="subject">
										<div class="ptab">
											<div class="ptabbar">
												<ul onclick="switchPanel(this)" onselectstart="return false"><li class="current">&nbsp;</li><li>&nbsp;</li></ul>
											</div><div class="ptabbody"><div class="tabpanel current">
													<a class="upbtn" title="上移" onclick="moveTabItem(this,-1)"></a>
													<div class="subjectinfo">
														<div>标题：</div>
														<div><input type="text" class="subjecttitle" name="subjecttitle" /></div>
														<div>文章地址：</div>
														<div><input type="text" class="subjecturl" name="subjecturl" /></div>
														<div>简单描述：</div>
														<div><textarea class="subjectsummary" name="subjectsummary"></textarea></div>
													</div>
													<a class="dnbtn" title="下移" onclick="moveTabItem(this,1)"></a>
												</div><div class="tabpanel">
													<a class="upbtn" title="上移" onclick="moveTabItem(this,-1)"></a>
													<div class="subjectinfo">
														<div>标题：</div>
														<div><input type="text" class="subjecttitle" name="subjecttitle" /></div>
														<div>文章地址：</div>
														<div><input type="text" class="subjecturl" name="subjecturl" /></div>
														<div>简单描述：</div>
														<div><textarea class="subjectsummary" name="subjectsummary"></textarea></div>
													</div>
													<a class="dnbtn" title="下移" onclick="moveTabItem(this,1)"></a>
											</div></div>
										</div>
									</div>
								</div><div class="tabpanel">
									<div class="recommend">
										<div class="ptab">
											<div class="ptabbar">
												<ul onclick="switchPanel(this)" onselectstart="return false"><li class="current">&nbsp;</li><li>&nbsp;</li><li>&nbsp;</li><li>&nbsp;</li><li>&nbsp;</li><li>&nbsp;</li></ul>
											</div><div class="ptabbody"><div class="tabpanel current">
													<a class="upbtn" title="上移" onclick="moveTabItem(this,-1)"></a>
													<div class="recommendinfo">
														<div>标题：</div>
														<div><input type="text" class="recommendtitle" name="recommendtitle" /></div>
														<div>文章地址：</div>
														<div><input type="text" class="recommendurl" name="recommendurl" /></div>
														<div>作者或出处：</div>
														<div><input type="text" class="recommendname" name="recommendname" /></div>
														<div>用户名或网址：</div>
														<div><input type="text" class="recommendauthor" name="recommendauthor" /></div>
													</div>
													<a class="dnbtn" title="下移" onclick="moveTabItem(this,1)"></a>
												</div><div class="tabpanel">
													<a class="upbtn" title="上移" onclick="moveTabItem(this,-1)"></a>
													<div class="recommendinfo">
														<div>标题：</div>
														<div><input type="text" class="recommendtitle" name="recommendtitle" /></div>
														<div>文章地址：</div>
														<div><input type="text" class="recommendurl" name="recommendurl" /></div>
														<div>作者或出处：</div>
														<div><input type="text" class="recommendname" name="recommendname" /></div>
														<div>用户名或网址：</div>
														<div><input type="text" class="recommendauthor" name="recommendauthor" /></div>
													</div>
													<a class="dnbtn" title="下移" onclick="moveTabItem(this,1)"></a>
												</div><div class="tabpanel">
													<a class="upbtn" title="上移" onclick="moveTabItem(this,-1)"></a>
													<div class="recommendinfo">
														<div>标题：</div>
														<div><input type="text" class="recommendtitle" name="recommendtitle" /></div>
														<div>文章地址：</div>
														<div><input type="text" class="recommendurl" name="recommendurl" /></div>
														<div>作者或出处：</div>
														<div><input type="text" class="recommendname" name="recommendname" /></div>
														<div>用户名或网址：</div>
														<div><input type="text" class="recommendauthor" name="recommendauthor" /></div>
													</div>
													<a class="dnbtn" title="下移" onclick="moveTabItem(this,1)"></a>
												</div><div class="tabpanel">
													<a class="upbtn" title="上移" onclick="moveTabItem(this,-1)"></a>
													<div class="recommendinfo">
														<div>标题：</div>
														<div><input type="text" class="recommendtitle" name="recommendtitle" /></div>
														<div>文章地址：</div>
														<div><input type="text" class="recommendurl" name="recommendurl" /></div>
														<div>作者或出处：</div>
														<div><input type="text" class="recommendname" name="recommendname" /></div>
														<div>用户名或网址：</div>
														<div><input type="text" class="recommendauthor" name="recommendauthor" /></div>
													</div>
													<a class="dnbtn" title="下移" onclick="moveTabItem(this,1)"></a>
												</div><div class="tabpanel">
													<a class="upbtn" title="上移" onclick="moveTabItem(this,-1)"></a>
													<div class="recommendinfo">
														<div>标题：</div>
														<div><input type="text" class="recommendtitle" name="recommendtitle" /></div>
														<div>文章地址：</div>
														<div><input type="text" class="recommendurl" name="recommendurl" /></div>
														<div>作者或出处：</div>
														<div><input type="text" class="recommendname" name="recommendname" /></div>
														<div>用户名或网址：</div>
														<div><input type="text" class="recommendauthor" name="recommendauthor" /></div>
													</div>
													<a class="dnbtn" title="下移" onclick="moveTabItem(this,1)"></a>
												</div><div class="tabpanel">
													<a class="upbtn" title="上移" onclick="moveTabItem(this,-1)"></a>
													<div class="recommendinfo">
														<div>标题：</div>
														<div><input type="text" class="recommendtitle" name="recommendtitle" /></div>
														<div>文章地址：</div>
														<div><input type="text" class="recommendurl" name="recommendurl" /></div>
														<div>作者或出处：</div>
														<div><input type="text" class="recommendname" name="recommendname" /></div>
														<div>用户名或网址：</div>
														<div><input type="text" class="recommendauthor" name="recommendauthor" /></div>
													</div>
													<a class="dnbtn" title="下移" onclick="moveTabItem(this,1)"></a>
												</div>
											</div>
										</div>
									</div>
								</div><div class="tabpanel">
									<div class="recommend">
										<div class="ptab">
											<div class="ptabbar">
												<ul onclick="switchPanel(this)" onselectstart="return false"><li class="current">&nbsp;</li><li>&nbsp;</li><li>&nbsp;</li><li>&nbsp;</li><li>&nbsp;</li><li>&nbsp;</li><li>&nbsp;</li><li>&nbsp;</li><li>&nbsp;</li><li>&nbsp;</li></ul>
											</div><div class="ptabbody"><div class="tabpanel current">
													<a class="upbtn" title="上移" onclick="moveTabItem(this,-1)"></a>
													<div class="recommendinfo">
														<div>标题：</div>
														<div><input type="text" class="pickedtitle" name="pickedtitle" /></div>
														<div>文章地址：</div>
														<div><input type="text" class="pickedurl" name="pickedurl" /></div>
														<div>作者或出处：</div>
														<div><input type="text" class="pickedname" name="pickedname" /></div>
														<div>用户名或网址：</div>
														<div><input type="text" class="pickedauthor" name="pickedauthor" /></div>
													</div>
													<a class="dnbtn" title="下移" onclick="moveTabItem(this,1)"></a>
												</div><div class="tabpanel">
													<a class="upbtn" title="上移" onclick="moveTabItem(this,-1)"></a>
													<div class="recommendinfo">
														<div>标题：</div>
														<div><input type="text" class="pickedtitle" name="pickedtitle" /></div>
														<div>文章地址：</div>
														<div><input type="text" class="pickedurl" name="pickedurl" /></div>
														<div>作者或出处：</div>
														<div><input type="text" class="pickedname" name="pickedname" /></div>
														<div>用户名或网址：</div>
														<div><input type="text" class="pickedauthor" name="pickedauthor" /></div>
													</div>
													<a class="dnbtn" title="下移" onclick="moveTabItem(this,1)"></a>
												</div><div class="tabpanel">
													<a class="upbtn" title="上移" onclick="moveTabItem(this,-1)"></a>
													<div class="recommendinfo">
														<div>标题：</div>
														<div><input type="text" class="pickedtitle" name="pickedtitle" /></div>
														<div>文章地址：</div>
														<div><input type="text" class="pickedurl" name="pickedurl" /></div>
														<div>作者或出处：</div>
														<div><input type="text" class="pickedname" name="pickedname" /></div>
														<div>用户名或网址：</div>
														<div><input type="text" class="pickedauthor" name="pickedauthor" /></div>
													</div>
													<a class="dnbtn" title="下移" onclick="moveTabItem(this,1)"></a>
												</div><div class="tabpanel">
													<a class="upbtn" title="上移" onclick="moveTabItem(this,-1)"></a>
													<div class="recommendinfo">
														<div>标题：</div>
														<div><input type="text" class="pickedtitle" name="pickedtitle" /></div>
														<div>文章地址：</div>
														<div><input type="text" class="pickedurl" name="pickedurl" /></div>
														<div>作者或出处：</div>
														<div><input type="text" class="pickedname" name="pickedname" /></div>
														<div>用户名或网址：</div>
														<div><input type="text" class="pickedauthor" name="pickedauthor" /></div>
													</div>
													<a class="dnbtn" title="下移" onclick="moveTabItem(this,1)"></a>
												</div><div class="tabpanel">
													<a class="upbtn" title="上移" onclick="moveTabItem(this,-1)"></a>
													<div class="recommendinfo">
														<div>标题：</div>
														<div><input type="text" class="pickedtitle" name="pickedtitle" /></div>
														<div>文章地址：</div>
														<div><input type="text" class="pickedurl" name="pickedurl" /></div>
														<div>作者或出处：</div>
														<div><input type="text" class="pickedname" name="pickedname" /></div>
														<div>用户名或网址：</div>
														<div><input type="text" class="pickedauthor" name="pickedauthor" /></div>
													</div>
													<a class="dnbtn" title="下移" onclick="moveTabItem(this,1)"></a>
												</div><div class="tabpanel">
													<a class="upbtn" title="上移" onclick="moveTabItem(this,-1)"></a>
													<div class="recommendinfo">
														<div>标题：</div>
														<div><input type="text" class="pickedtitle" name="pickedtitle" /></div>
														<div>文章地址：</div>
														<div><input type="text" class="pickedurl" name="pickedurl" /></div>
														<div>作者或出处：</div>
														<div><input type="text" class="pickedname" name="pickedname" /></div>
														<div>用户名或网址：</div>
														<div><input type="text" class="pickedauthor" name="pickedauthor" /></div>
													</div>
													<a class="dnbtn" title="下移" onclick="moveTabItem(this,1)"></a>
												</div><div class="tabpanel">
													<a class="upbtn" title="上移" onclick="moveTabItem(this,-1)"></a>
													<div class="recommendinfo">
														<div>标题：</div>
														<div><input type="text" class="pickedtitle" name="pickedtitle" /></div>
														<div>文章地址：</div>
														<div><input type="text" class="pickedurl" name="pickedurl" /></div>
														<div>作者或出处：</div>
														<div><input type="text" class="pickedname" name="pickedname" /></div>
														<div>用户名或网址：</div>
														<div><input type="text" class="pickedauthor" name="pickedauthor" /></div>
													</div>
													<a class="dnbtn" title="下移" onclick="moveTabItem(this,1)"></a>
												</div><div class="tabpanel">
													<a class="upbtn" title="上移" onclick="moveTabItem(this,-1)"></a>
													<div class="recommendinfo">
														<div>标题：</div>
														<div><input type="text" class="pickedtitle" name="pickedtitle" /></div>
														<div>文章地址：</div>
														<div><input type="text" class="pickedurl" name="pickedurl" /></div>
														<div>作者或出处：</div>
														<div><input type="text" class="pickedname" name="pickedname" /></div>
														<div>用户名或网址：</div>
														<div><input type="text" class="pickedauthor" name="pickedauthor" /></div>
													</div>
													<a class="dnbtn" title="下移" onclick="moveTabItem(this,1)"></a>
												</div><div class="tabpanel">
													<a class="upbtn" title="上移" onclick="moveTabItem(this,-1)"></a>
													<div class="recommendinfo">
														<div>标题：</div>
														<div><input type="text" class="pickedtitle" name="pickedtitle" /></div>
														<div>文章地址：</div>
														<div><input type="text" class="pickedurl" name="pickedurl" /></div>
														<div>作者或出处：</div>
														<div><input type="text" class="pickedname" name="pickedname" /></div>
														<div>用户名或网址：</div>
														<div><input type="text" class="pickedauthor" name="pickedauthor" /></div>
													</div>
													<a class="dnbtn" title="下移" onclick="moveTabItem(this,1)"></a>
												</div><div class="tabpanel">
													<a class="upbtn" title="上移" onclick="moveTabItem(this,-1)"></a>
													<div class="recommendinfo">
														<div>标题：</div>
														<div><input type="text" class="pickedtitle" name="pickedtitle" /></div>
														<div>文章地址：</div>
														<div><input type="text" class="pickedurl" name="pickedurl" /></div>
														<div>作者或出处：</div>
														<div><input type="text" class="pickedname" name="pickedname" /></div>
														<div>用户名或网址：</div>
														<div><input type="text" class="pickedauthor" name="pickedauthor" /></div>
													</div>
													<a class="dnbtn" title="下移" onclick="moveTabItem(this,1)"></a>
												</div>
											</div>
										</div>
									</div>
								</div><div class="tabpanel">
									<div class="banner">
										<div class="ptab">
											<div class="ptabbar">
												<ul onclick="switchPanel(this)" onselectstart="return false"><li class="current">&nbsp;</li><li>&nbsp;</li></ul>
											</div><div class="ptabbody"><div class="tabpanel current">
													<div class="bannerinfo">
														<div>顶部横幅HTML代码：</div>
														<div><textarea class="topbanner" name="topbanner"></textarea></div>
													</div>
												</div><div class="tabpanel">
													<div class="bannerinfo">
														<div>页中横幅HTML代码：</div>
														<div><textarea class="middlebanner" name="middlebanner"></textarea></div>
													</div>
											</div></div>
										</div>
									</div>
								</div><div class="tabpanel">
									<div class="copartner">
										<dl class="table">
											<dt><div>标题</div><div>URL</div><div>LOGO地址</div></dt>
											<dd>
												<ul id="copartnerlist"><li><span><input onblur="checkLastRow(this)" type="text" name="copartnertitle" /></span>
													<span><input onblur="checkLastRow(this)" type="text" name="copartnerurl" /></span>
													<span><input onblur="checkLastRow(this)" type="text" name="copartnerlogo" /></span>
												</li></ul>
											</dd>
										</dl>
									</div>
								</div><div class="tabpanel">
									<div class="friendlink">
										<dl class="table">
											<dt><div>标题</div><div>URL</div><div>简述</div></dt>
											<dd>
												<ul id="friendlinklist"><li><span><input onblur="checkLastRow(this)" type="text" name="friendlinktitle" /></span>
													<span><input onblur="checkLastRow(this)" type="text" name="friendlinkurl" /></span>
													<span><input onblur="checkLastRow(this)" type="text" name="friendlinksummary" /></span>
												</li></ul>
											</dd>
										</dl>
									</div>
							</div></div>
						</div>
						<div class="buttonscontain"><a href="#"><button onclick="if(tidyupflag)saveHomeSet();return false;">保存</button></a><a href="#"><button onclick="if(tidyupflag&&confirm('确定要放弃所有修改吗?'))loadHomeSet();return false;">放弃修改</button></a><a href="#"><button onclick="closeWindow('homepage')">取消</button></a></div>
					</form>
				</div>
			</div>
		</div>
		<div class="bottomborder">
			<div class="lbangle"></div>
			<div class="rbangle"></div>
		</div>
		<div class="shadow"><iframe src="about:blank" frameborder="0"></iframe></div>
	</div>
	<div class="cwindow" id="topic" onstart="TopicList.load(1)"><div class="topborder">
			<div class="ltangle"></div>
			<div class="title"><span>文章管理</span></div>
			<div class="rtangle"></div>
			<a href="#" onclick="closeWindow('topic')" class="closebtn"></a>
		</div>
		<div class="leftborder">
			<div class="rightborder">
				<div class="content">
					<div class="topic">
						<div class="topicbar">
							<span>日志标题：</span><input id="topictitlefilter" type="text" /><a href="#"><button onclick="TopicList.load(1, true);return false">查询</button></a>
						</div>
						<div class="topicList">
							<table id="topicList" onclick="selectRow(this)" border="0" cellpadding="0" cellspacing="0">
								<thead>
									<tr>
										<th width="18"></th>
										<td>标题</td>
										<td width="100">作者</td>
										<td width="125">发表日期</td>
									</tr>
								</thead>
								<tbody>
									<tr>
										<th></th>
										<td><div class="topictitle"></div></td>
										<td><div class="topicauthor"></div></td>
										<td></td>
									</tr>
								</tbody>
							</table>
						</div>
						<div id="topicpager">
							<span>1</span><span>2</span>
						</div>
						<div class="buttonscontain"><a href="#"><button onclick="TopicList.addToTidyup('recommend',6);return false;">推荐</button></a><a href="#"><button onclick="TopicList.addToTidyup('picked',10);return false;">加精</button></a><a href="#"><button onclick="TopicList.deleteTopics();return false;">删除</button></a><a href="#"><button onclick="closeWindow('topic')">取消</button></a></div>
					</div>
				</div>
			</div>
		</div>
		<div class="bottomborder">
			<div class="lbangle"></div>
			<div class="rbangle"></div>
		</div>
		<div class="shadow"><iframe src="about:blank" frameborder="0"></iframe></div>
	</div>
	<div class="cwindow" id="user" onstart="UserList.load(0,1)"><div class="topborder">
			<div class="ltangle"></div>
			<div class="title"><span>用户管理</span></div>			
			<div class="rtangle"></div>
			<a href="#" onclick="closeWindow('user')" class="closebtn"></a>
		</div>
		<div class="leftborder">
			<div class="rightborder">
				<div class="content">
					<div class="user">
						<div class="userbar">
							<span>用户名：</span><input id="accountfilter" type="text" /><span>博客名称：</span><input id="nicknamefilter" type="text" /><a href="#"><button onclick="UserList.load(UserList.state,1,true);return false">查询</button></a>
						</div>
						<div class="tab">
							<div class="tabbar">
								<ul onclick="switchPanel(this)"><li class="current" onstart="UserList.load(0,1)">
									<div class="left"></div><div class="right"></div><span>所有用户</span>
								</li><li onstart="UserList.load(1,1)">
									<div class="left"></div><div class="right"></div><span>正常用户</span>
								</li><li onstart="UserList.load(2,1)">
									<div class="left"></div><div class="right"></div><span>已封禁用户</span>
								</li></ul>
							</div><div class="tabbody"><div class="tabpanel current"></div><div class="tabpanel"></div><div class="tabpanel"></div></div>
						</div>
						<div class="userlist">
							<table id="userList" onclick="selectRow(this)" border="0" cellpadding="0" cellspacing="0">
								<thead>
									<tr>
										<th width="18"></th>
										<td>用户名</td>
										<td>博客名称</td>
										<td width="125">注册时间</td>
										<td width="125">最后登录时间</td>
									</tr>
								</thead>
								<tbody></tbody>
							</table>
						</div>
						<div id="userpager">
							<span>1</span><span>2</span>
						</div>
						<div class="buttonscontain"><a href="#"><button onclick="UserList.sendMessage()">发送消息</button></a><a href="#"><button onclick="UserList.setStatus(1)">确定</button></a><a href="#"><button onclick="UserList.deleteUsers()">彻底删除</button></a><a href="#"><button onclick="closeWindow('user')">取消</button></a></div>
					</div>
				</div>
			</div>
		</div>
		<div class="bottomborder">
			<div class="lbangle"></div>
			<div class="rbangle"></div>
		</div>
		<div class="shadow"><iframe src="about:blank" frameborder="0"></iframe></div>
	</div>
	<div class="cwindow" id="account"><div class="topborder">
			<div class="ltangle"></div>
			<div class="title"><span>帐户管理</span></div>
			<div class="rtangle"></div>
			<a href="#" onclick="closeWindow('account')" class="closebtn"></a>
		</div>
		<div class="leftborder">
			<div class="rightborder">
				<div class="content">
					<div class="tab">
						<div class="tabbar">
							<ul onclick="switchPanel(this)"><li class="current">
									<div class="left"></div><div class="right"></div><span>修改密码</span>
								</li><li>
									<div class="left"></div><div class="right"></div><span>管理帐户</span>
							</li></ul>
						</div><div class="tabbody"><div class="tabpanel current">
								<form action="AdminUpdate.aspx" onsubmit="return false">
									<div>旧密码：</div>
									<input type="password" name="opwd" min="6" msg="输入的旧密码太短了" />
									<div>新密码：</div>
									<input type="password" name="npwd" min="6" msg="新密码要求至少6个字符的密码" />
									<div>确认新密码：</div>
									<input type="password" name="repeatpwd" dataType="Repeat" to="npwd" msg="两次输入的密码不同" />
									<div class="buttonscontain"><a href="#"><button onclick="adminUpdate(this.form)">确定</button></a><a href="#"><button onclick="closeWindow('account')">取消</button></a></div>
								</form>
							</div><div class="tabpanel">
								<form action="AdminUpdate.aspx" onsubmit="return false">
									<div>登录名：</div>
									<input type="text" name="account" min="1" msg="必须输入管理帐户" />
									<div>登录密码：<span>删除帐户不用填写密码</span></div>
									<input type="password" name="npwd" min="6" msg="新密码要求至少6个字符的密码" />
									<div>确认密码：</div>
									<input type="password" name="repeatpwd" dataType="Repeat" to="npwd" msg="两次输入的密码不同" />
									<div class="buttonscontain"><a href="#"><button onclick="adminUpdate(this.form)">确定</button></a><a href="#"><button onclick="adminUpdate(this.form,true)">删除</button></a><a href="#"><button onclick="closeWindow('account')">取消</button></a></div>
								</form>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="bottomborder">
			<div class="lbangle"></div>
			<div class="rbangle"></div>
		</div>
		<div class="shadow"><iframe src="about:blank" frameborder="0"></iframe></div>
	</div>
	<div class="cwindow" id="topicview"><div class="topborder">
			<div class="ltangle"></div>
			<div class="title"><span id="topicviewtitle"></span></div>			
			<div class="rtangle"></div>
			<a href="#" onclick="closeWindow('topicview')" class="closebtn"></a>
		</div>
		<div class="leftborder">
			<div class="rightborder">
				<div class="content">
					<div class="tab">
						<div class="tabbar">
							<ul onclick="switchPanel(this)"><li class="current">
									<div class="left"></div><div class="right"></div><span>正文</span>
								</li><li>
									<div class="left"></div><div class="right"></div><span>摘要</span>
							</li></ul>
						</div><div class="tabbody"><div class="tabpanel current">
								<div id="topiccontent">
								    <iframe src="about:blank" frameborder="0"></iframe>
								</div>
							</div><div class="tabpanel">
								<div id="topicsummary">
								</div>
							</div>
						</div>
						<div class="buttonscontain"><a href="#"><button onclick="closeWindow('topicview')">取消</button></a></div>
					</div>
				</div>
			</div>
		</div>
		<div class="bottomborder">
			<div class="lbangle"></div>
			<div class="rbangle"></div>
		</div>
		<div class="shadow"><iframe src="about:blank" frameborder="0"></iframe></div>
	</div>
	<div class="cwindow" id="topicdeleter"><div class="topborder">
			<div class="ltangle"></div>
			<div class="title"><span>文章删除确认</span></div>			
			<div class="rtangle"></div>
			<a href="#" onclick="closeWindow('topicdeleter')" class="closebtn"></a>
		</div>
		<div class="leftborder">
			<div class="rightborder">
				<div class="content">
					<form id="topicdeleterform" action="DeleteTopics.aspx">
						<input type="hidden" name="ids" />
						<input type="hidden" name="authors" />
						<div>请说明理由：</div>
						<textarea name="reason">涉及国家法律法规允许外的内容</textarea>
						<div class="buttonscontain"><a href="#"><button onclick="if(this.form.elements['reason'].value.trim().length == 0)this.form.elements['reason'].value='涉及国家法律法规允许外的内容';this.form.post(TopicList.deleteDone.bind(TopicList));return false;">确定</button></a><a href="#"><button onclick="closeWindow('topicdeleter')">取消</button></a></div>
					</form>
				</div>
			</div>
		</div>
		<div class="bottomborder">
			<div class="lbangle"></div>
			<div class="rbangle"></div>
		</div>
		<div class="shadow"><iframe src="about:blank" frameborder="0"></iframe></div>
	</div>
	<div class="cwindow" id="messager"><div class="topborder">
			<div class="ltangle"></div>
			<div class="title"><span>发送系统消息</span></div>			
			<div class="rtangle"></div>
			<a href="#" onclick="closeWindow('messager')" class="closebtn"></a>
		</div>
		<div class="leftborder">
			<div class="rightborder">
				<div class="content">
					<form id="messagerform" action="SimpleUpdate.aspx">
						<input type="hidden" name="ds" value="sendsystemmessage" />
						<input type="hidden" name="users" />
						<input type="hidden" name="area" value="0" />
						<div>接收范围：</div>
						<ul onclick="switchMessageTarget(this)"><li value="0" class="checked">已选择的用户</li><li value="1">所有用户</li></ul>
						<div>消息内容：<span>200个字符以内，支持UBB</span></div>
						<textarea name="message"></textarea>
						<div class="buttonscontain"><a href="#"><button onclick="if(this.form.elements['message'].value.trim().length > 0)this.form.post(UserList.sendDone)">发送</button></a><a href="#"><button onclick="closeWindow('messager')">取消</button></a></div>
					</form>
				</div>
			</div>
		</div>
		<div class="bottomborder">
			<div class="lbangle"></div>
			<div class="rbangle"></div>
		</div>
		<div class="shadow"><iframe src="about:blank" frameborder="0"></iframe></div>
	</div>
	<div class="cwindow" id="userdeleter"><div class="topborder">
			<div class="ltangle"></div>
			<div class="title"><span>用户删除确认</span></div>			
			<div class="rtangle"></div>
			<a href="#" onclick="closeWindow('userdeleter')" class="closebtn"></a>
		</div>
		<div class="leftborder">
			<div class="rightborder">
				<div class="content">
					<form id="userdeleterform" action="DeleteUsers.aspx">
						<input type="hidden" name="users" />
						<span>彻底删除用户将删除用户的所有内容并且不可恢复！为了避免误操作，请在下面的输入框中输入大写的英文字母[OK]!</span>
						<input type="text" name="confirm" />
						<div class="buttonscontain"><a href="#"><button onclick="if(this.form.elements['confirm'].value=='OK')this.form.post(UserList.updateDone.bind(UserList));return false;">确定</button></a><a href="#"><button onclick="closeWindow('userdeleter')">取消</button></a></div>
					</form>
				</div>
			</div>
		</div>
		<div class="bottomborder">
			<div class="lbangle"></div>
			<div class="rbangle"></div>
		</div>
		<div class="shadow"><iframe src="about:blank" frameborder="0"></iframe></div>
	</div>
	<div id="loginbox">
		<div class="loginbox">
			<div class="loginboxbg">
				<form id="loginform" action="adminlogin.aspx" onsubmit="this.post(login);return false">
					<div>管理帐号：</div>
					<div><input type="text" name="account" min="1" msg="必须输入管理帐号" /></div>
					<div>登录密码：</div>
					<div><input type="password" name="pwd" min="6" msg="输入的管理密码太短了"  /></div>
					<div>请输入下图中的验证码：</div>
					<div>
						<input type="text" name="crc" min="5" msg="验证码不正确" maxlength="5" style="width:50px;margin-right:6px" /><img id="crc_img" /><a style="cursor:pointer;color:red" onclick="$id('crc_img').src='/CRCImage.aspx?mod=manage&' + (new Date()).getTime();return false">看不清？</a>
					</div>
					<div class="loginbtn"><a href="#"><button onclick="$(this.form).post(login)">登录</button></a></div>
				</form>
			</div>
		</div>
	</div>
	<div id="loading"><div>正在加载管理程序,请稍候...</div>
		<img src="ui/admin/loading.gif" />
	</div>	
</div>
</body>
</html>
